﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vision.Core.Entities.Activities
{
    /// <summary>
    /// 
    /// </summary>
    public class ActivityHistoryItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int ActivityId { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public ActivityHistoryEvent Event { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Data { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime Date { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public ActivityHistoryItem()
        {
            this.Date = DateTime.Now;
        }
    }

    /// <summary>
    /// 
    /// </summary>
    public enum ActivityHistoryEvent
    {
        Activity_Execution_Started = 1,
        Activity_Execution_Complete = 2,
        Activity_Execution_Error = 3,
        Activity_Execution_Stack = 4
    }
}
